var q6 ="#fUI/RunnerGame.img/RunnerGameUI/UI/Point/1#"
var q1 ="#fUI/SoulUI.img/DungeonMap/icon/dungeonItem/0#"
var h1 ="#fUI/Login.img/WorldNotice/1/5#"
var h4 ="#fUI/Gateway.img/WorldSelect/BtDot/normal/0#"  
var h6 ="#fUI/SoulUI.img/DungeonEffect/2350012/15#"  
var h7 ="#fItem/Cash/0501.img/05010000/effect/default/0#" 
var h8 ="#fItem/Cash/0583.img/05830002/info/icon#" 
var h9 ="#fItem/Consume/0237.img/02370000/info/icon#" 
var bbb1 ="#fItem/Cash/0516.img/05160005/info/icon#"
var bbb2 ="#fItem/Cash/0516.img/05160000/info/icon#"
var bbb3 ="#fItem/Cash/0516.img/05160001/info/icon#"
var ddd1 ="#fItem/Cash/0523.img/05230000/info/icon#"
var ddd3 ="#fItem/Cash/0533.img/05330000/info/icon#"
var ddd4 ="#fItem/Cash/0537.img/05370000/info/icon#"
var ddd5 ="#fItem/Cash/0548.img/05480000/info/icon#"
var ddd6 ="#fItem/Cash/0548.img/05480001/info/icon#"
var h7 ="#fItem/Cash/0501.img/05010000/effect/default/0#"
var s18 ="#fUI/UIWindow/AriantMatch/characterIcon/5#";
var aaa ="#fUI/UIWindow/AriantMatch/characterIcon/5#";
var yun ="#fUI/UIWindow/Quest/icon8/0#";////红沙漏
var yun2 ="#fUI/UIWindow/Quest/icon8/0#";////蓝指标
var yun8 ="#fUI/UIWindow/MonsterBook/arrowLeft/normal/0#";////金左指标
var yun9 ="#fUI/UIWindow/MonsterBook/arrowRight/normal/0#";////金右指标
var ttt ="#fUI/UIWindow/Quest/icon2/7#";//"+ttt+"//美化1
var ttt2 ="#fUI/UIWindow/Quest/icon6/7#";////美化2
var ttt3 ="#fUI/UIWindow/Quest/icon3/6#";//"+ttt3+"//美化圆
var ttt4 ="#fUI/UIWindow/Quest/icon5/1#";//"+ttt4+"//美化New
var ttt5 ="#fUI/UIWindow/Quest/icon0#";////美化!
var ttt7 ="#fUI/Basic/BtHide3/mouseOver/0#";//"+ttt6+"//美化会员
var ttt6 ="#fUI/UIWindow.img/PvP/Scroll/enabled/next2#";
var epp = "#fEffect/CharacterEff/1082312/0/0#";  //彩光
var eff = "#fCharacter/Weapon/01702523.img/48/straight/0/effect#"; //彩虹带
var eff = "#fEffect/CharacterEff/1112905/0/1#"; //
var epp = "#fEffect/CharacterEff/1082312/0/0#";  //彩光
var epp1 = "#fEffect/CharacterEff/1082312/2/0#"; //彩光1
var axx = "#fEffect/CharacterEff/1051294/0/0#";  //爱心
var xxx = "#fEffect/CharacterEff/1082565/2/0#"; //星系
var ppp = "#fEffect/CharacterEff/1112907/4/0#"; //泡炮 
var epp3 = "#fEffect/CharacterEff/1112908/0/1#";  //彩光3
var axx1 = "#fEffect/CharacterEff/1062114/1/0#";  //爱心
var zs = "#fEffect/CharacterEff/1112946/2/0#";  //砖石粉
var zs1 = "#fEffect/CharacterEff/1112946/1/1#";  //砖石蓝
var dxxx = "#fEffect/CharacterEff/1102232/2/0#"; //星系
var tz = "#fEffect/CharacterEff/1082565/2/0#";  //兔子蓝
var tz1 = "#fEffect/CharacterEff/1082565/4/0#";  //兔子粉
var tz7 = "#fEffect/CharacterEff/1112900/3/1#";  //音符红
var tz8 = "#fEffect/CharacterEff/1112900/4/1#";  //音符绿
var tz88 = "#fEffect/CharacterEff/1112900/5/1#";  //音符绿!
var yun1 ="#fUI/UIWindow/Quest/icon7/10#";////红色圆
var tz9 = "#fEffect/CharacterEff/1112902/0/0#";  //蓝心
var tz10 = "#fEffect/CharacterEff/1112903/0/0#";  //红心
var tz11 = "#fEffect/CharacterEff/1112904/0/0#";  //彩心
var tz12 = "#fEffect/CharacterEff/1112924/0/0#";  //黄星
var tz13 = "#fEffect/CharacterEff/1112925/0/0#";  //蓝星
var tz14 = "#fEffect/CharacterEff/1112926/0/0#";  //红星
var tz15 = "#fEffect/CharacterEff/1112949/0/0#";  //花样音符
var tz16 = "#fEffect/CharacterEff/1112949/1/0#";  //花样音符
var tz17 = "#fEffect/CharacterEff/1112949/2/0#";  //花样音符
var tz18 = "#fEffect/CharacterEff/1112949/3/0#";  //花样音符
var tz19 = "#fEffect/CharacterEff/1112949/4/0#";  //花样音符
var tz20 = "#fEffect/CharacterEff/1114000/1/0#";  //红星花
var head = "#fUI/UIWindow2.img/Quest/quest_info/summary_icon/summary#\r\n";
var yun4 ="#fUI/UIWindow/Quest/reward#";////奖励
var 戴米安 = "#fMob/8880130.img/stand/0#";
var 闹钟 = "#fMob/8500001.img/stand/0#";
var 希纳斯 = "#fMob/8850011.img/stand/0#";
var 扎昆 = "#fMob/8800000.img/stand/0#";
var 奖励 ="#fUI/UIWindow/Quest/reward#";

function start() {
	status = -1;
	action(1, 0, 0);
}

function action(mode, type, selection) {
	if (mode == -1) {
		cm.dispose();
	} else {
		if (mode == 0 && status == 0) {
			cm.dispose();
			return;
		}
		if (mode == 1)
			status++;
		else
			status--;
		if (status == 0) {
        	var text="#e#r      "+q6+" PPMS冒险岛免费装备打造处 "+q6+"#n\r\n";
			text+=""+tz12+""+tz13+""+tz14+""+tz12+""+tz13+""+tz14+""+tz12+""+tz13+""+tz14+""+tz12+""+tz13+""+tz14+""+tz12+""+tz13+""+tz14+""+tz12+""+tz13+""+tz14+""+tz12+"#k#k";
			text+="#r  - < 在我这我能为您能使用材料定制以下几种装备套装 > -  #n\r\n";
			text+=""+tz12+""+tz13+""+tz14+""+tz12+""+tz13+""+tz14+""+tz12+""+tz13+""+tz14+""+tz12+""+tz13+""+tz14+""+tz12+""+tz13+""+tz14+""+tz12+""+tz13+""+tz14+""+tz12+"#k#k";
			text+="#b#L1#"+h8+"制作外星人碎片套装   #g<初涉茅庐级>#r难度：☆#l\r\n";
			text+="#b#L2#"+h8+"制作高人气寻宝套装   #g<平步青云级>#r难度：☆ #l\r\n";
			text+="#b#L6#"+h8+"制作女皇渡鸦整套装   #g<通镜之道>#r难度：☆☆ #l\r\n";
			text+="#b#L13#"+h8+"制作Boos伤20%巨匠套  #g<通幽之道>#r难度：☆☆☆ #l\r\n";
			text+="#b#L16#"+h8+"制作赫里希安三件套 #k<脱凡进仙界>#r难度：☆☆ #l\r\n";
			text+="#b#L17#"+h8+"制作最高贝勒德三件 #k<初入神游界>#r难度：☆☆☆ #l\r\n";
			text+="#b#L18#"+h8+"制作旋涡解封套装 #k<渡劫万道界>#r难度：☆☆☆☆ #l\r\n";
			text+="#b#L5556#"+h8+"制作万能特米纳斯 #k<神罗天征>#r难度：☆☆☆☆☆ #l\r\n";			
			text+="#b#L22#"+h8+"制作暴君装备四件套 #k<涅槃飞升>#r难度：☆☆☆☆ #l\r\n";
			text+="#b#L28#"+h8+"制作鲁塔比斯套装 #d<化仙进阶>#r难度：☆☆☆☆☆ #l\r\n";
			text+="#b#L35#"+h8+"制作埃苏布莱斯套#d <神渡九天>#r难度：☆☆☆☆☆ #l\r\n";
			text+="#b#L42#"+h8+"制作200级神秘套 #d<苍穹万道>#r难度：☆☆☆☆☆☆ #l\r\n";
			cm.sendSimple(text);
		} else if (status == 1){
			switch (selection) {
				case 1:
				cm.dispose();
				cm.openNpc(0, "外星人碎片套装");
				break;
				case 2:
				cm.dispose();
				cm.openNpc(0, "高人气寻宝套装");
				break;
				case 6:
				cm.dispose();
				cm.openNpc(0, "女皇渡鸦整套装");
				break;	
				case 13:
				cm.dispose();
				cm.openNpc(0, "Boos伤20%巨匠套");
				break;
				case 16:
				cm.dispose();
				cm.openNpc(0, "赫里希安三件套");
				break;
				case 17:
				cm.dispose();
				cm.openNpc(0, "最高贝勒德三件");
				break;
				case 18:
				cm.dispose();
				cm.openNpc(0, "旋涡解封套装");
				break;	
				case 22:
				cm.dispose();
				cm.openNpc(0, "暴君装备四件套");
				break;
				case 28:
				cm.dispose();
				cm.openNpc(0, "撸塔比斯套装");
				break;
				case 35:
				cm.dispose();
				cm.openNpc(0, "埃苏布莱斯套");
				break;
				case 5556:
				cm.dispose();
				cm.openNpc(0, "特米纳斯");
				break;				
				case 42:
				cm.dispose();
				cm.openNpc(0, "200级神秘套");
				break;
				default:
				cm.sendOk("管理员正在准备中.请期待");
				cm.dispose();
			}
		}
	}
}